DIRNAME=`dirname $0`
SC_HOME=`cd $DIRNAME/; pwd`
DRIVERS_DIR=$SC_HOME/drivers

DRIVERS_CP=
for i in `ls $DRIVERS_DIR`
do
 DRIVERS_CP=$DRIVERS_DIR/$i\|$DRIVERS_CP
done

JAVA_OPTS="-Xms2m -Xmx32m -Dsc.home=$SC_HOME/ -Done-jar.class.path=$DRIVERS_CP"

firefox $SC_HOME/FlashSQLClient.swf &
#$SC_HOME/FlashSQLClient.swf &
java -jar $JAVA_OPTS $SC_HOME/web-sql-client.jar

